package com.shenzhen.horselive.beans;

import java.util.List;

public class OpenCardCityDateBean {


    /**
     * errCode : null
     * errMessage : null
     * total : 2
     * data : [{"code":"11","name":"北京市","parentCode":null,"parentName":null,"status":null,"areaList":[{"code":"110000","name":"北京市","parentCode":"11","parentName":"北京市","status":null,"areaList":[{"code":"110105","name":"朝阳区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110101","name":"东城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110112","name":"通州区","parentCode":null,"parentName":null,"status":0,"areaList":null},{"code":"110102","name":"西城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110111","name":"房山区","parentCode":null,"parentName":null,"status":0,"areaList":null}]}]},{"code":"12","name":"天津市","parentCode":null,"parentName":null,"status":null,"areaList":[{"code":"120000","name":"天津市","parentCode":"12","parentName":"天津市","status":null,"areaList":[{"code":"120103","name":"河西区","parentCode":null,"parentName":null,"status":0,"areaList":null}]}]}]
     * success : true
     */

    private String errCode;
    private String errMessage;
    private int total;
    private boolean success;
    private List<DataBean> data;

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * code : 11
         * name : 北京市
         * parentCode : null
         * parentName : null
         * status : null
         * areaList : [{"code":"110000","name":"北京市","parentCode":"11","parentName":"北京市","status":null,"areaList":[{"code":"110105","name":"朝阳区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110101","name":"东城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110112","name":"通州区","parentCode":null,"parentName":null,"status":0,"areaList":null},{"code":"110102","name":"西城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110111","name":"房山区","parentCode":null,"parentName":null,"status":0,"areaList":null}]}]
         */

        private String code;
        private String name;
        private String parentCode;
        private String parentName;
        private String status;
        private List<AreaListBeanX> areaList;


        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }

        public String getParentName() {
            return parentName;
        }

        public void setParentName(String parentName) {
            this.parentName = parentName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public List<AreaListBeanX> getAreaList() {
            return areaList;
        }

        public void setAreaList(List<AreaListBeanX> areaList) {
            this.areaList = areaList;
        }

        public static class AreaListBeanX {
            /**
             * code : 110000
             * name : 北京市
             * parentCode : 11
             * parentName : 北京市
             * status : null
             * areaList : [{"code":"110105","name":"朝阳区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110101","name":"东城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110112","name":"通州区","parentCode":null,"parentName":null,"status":0,"areaList":null},{"code":"110102","name":"西城区","parentCode":null,"parentName":null,"status":1,"areaList":null},{"code":"110111","name":"房山区","parentCode":null,"parentName":null,"status":0,"areaList":null}]
             */

            private String code;
            private String name;
            private String parentCode;
            private String parentName;
            private String status;
            private List<AreaListBean> areaList;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getParentCode() {
                return parentCode;
            }

            public void setParentCode(String parentCode) {
                this.parentCode = parentCode;
            }

            public String getParentName() {
                return parentName;
            }

            public void setParentName(String parentName) {
                this.parentName = parentName;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public List<AreaListBean> getAreaList() {
                return areaList;
            }

            public void setAreaList(List<AreaListBean> areaList) {
                this.areaList = areaList;
            }

            public static class AreaListBean {
                /**
                 * code : 110105
                 * name : 朝阳区
                 * parentCode : null
                 * parentName : null
                 * status : 1
                 * areaList : null
                 */

                private String code;
                private String name;
                private String parentCode;
                private String parentName;
                private String status;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getParentCode() {
                    return parentCode;
                }

                public void setParentCode(String parentCode) {
                    this.parentCode = parentCode;
                }

                public String getParentName() {
                    return parentName;
                }

                public void setParentName(String parentName) {
                    this.parentName = parentName;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }
            }
        }
    }
}
